<template>
  <el-button :loading="loading" type="primary">
    {{ label }}
  </el-button>
</template>
<script>
export default {
  name: 'SaveButton',
  props: {
    loading: {
      type: Boolean,
      required: false,
      default: () => {
        return false
      },
    },
    label: {
      type: String,
      required: false,
      default: () => {
        return ' 保 存 '
      },
    },
  },
}
</script>
